using UnityEngine;

public static class TileTools
{
    public static Vector3Int GetCellIndexScreen(Vector2 inputPos, Grid grid)
    {
        Vector3 wPos = Camera.main.ScreenToWorldPoint(inputPos);
        return grid.WorldToCell(wPos);
    }
}
